﻿<ion-view view-title="票据信息" cache-view="false" hide-back-button="false" ng-init="init()">
  <!--ion-nav-buttons side="right">
    <button class="button" ng-click="createAddr()">增加</button>
  </ion-nav-buttons-->
  <ion-content>
    <section class="g_main">
      <!-- 订单信息列表 -->
      <section class="order_list">        
        <ion-list>        
          <li ng-repeat="item in addr_list" class="item" ng-click="operateitem(item)">            
            <ul>
              <li>                
                <span class="no_icon">名称</span>
                <em>{{item.title}}</em>
              </li>
              <li>                
                <span class="no_icon">纳税人识别号</span>
                <em>{{item.tax_no}}</em>
                <span class="align_right btn_pos" ng-click="editAddr($event,item.id)" style="text-align: center;color: #76e508;left:80%">{{opertext}}</span>
              </li>
              <li>                
                <span class="no_icon">邮寄地址</span>
                <em>{{item.post_addr}}</em>
                 <span class="align_right btn_pos"  style="text-align: center;color: #76e508;left:80%">选择</span>
              </li>
              <li>                
                <span class="no_icon">收件人/电话</span>
                <em>{{item.recv_name}}</em>
              </li>              
            </ul>
          </li>
        </ion-list>
        <ion-infinite-scroll on-infinite="loadMoreRecord()" distance="1" ng-show="showprogress"></ion-infinite-scroll>
      </section>
    </section>    
  </ion-content> 
</ion-view>
